
<?php
class Consignment_takeout extends CI_Controller {

	public function __construct()
	{
		parent::__construct();
	}

	public function index($consignment_id="")
	{
		$data['template']   = "shell/smooth";

		if (!$consignment_id) {
			$data['main-view']	= 'f-consign-take';
		}
		else {
			$data['main-view'] 	= 'f-consign-detail';
			$data['detail']	=> $this->mconsignment->detail($consignment_id);
			$data['items']	=> $this->mconsignment->items($consignment_id);
		}

		$this->load->view($data['template'], $data);
	}


	public function takeout($value='')
	{
		# code...
	}
}